import 'package:flutter/material.dart';
import 'package:hippo_app/values/color_value.dart';

final class StyleValue {
  static final TextStyle appBarTitleStyle = TextStyle(
    color: Colors.white,
    fontSize: 20,
    fontWeight: FontWeight.bold,
  );
  static final TextStyle launchScreenLabelStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
    fontSize: 22,
    decoration: TextDecoration.none,
    fontWeight: FontWeight.w500,
  );
  static final TextStyle launchScreenSecondStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
    fontSize: 13,
  );
  static final TextStyle homeCardTotalLabelStyle = TextStyle(
    color: Colors.black54,
    fontSize: 12,
  );
  static final TextStyle homeCardPlantTotalStyle = TextStyle(
    color: Colors.black87,
    fontSize: 13,
    fontWeight: FontWeight.w500,
  );
  static final TextStyle homeCardWaterTotalStyle = TextStyle(
    color: Colors.black87,
    fontSize: 13,
    fontWeight: FontWeight.w500,
  );
  static final TextStyle homeCardFertilizerTotalStyle = TextStyle(
    color: Colors.black87,
    fontSize: 13,
    fontWeight: FontWeight.w500,
  );

  static final TextStyle titleStyle = TextStyle(
    color: Colors.black,
    fontSize: 14,
    fontWeight: FontWeight.w500,
  );

  static final TextStyle homeListItemNameStyle = TextStyle(
    color: Colors.black,
    fontSize: 13,
    fontWeight: FontWeight.w500,
  );
  static final TextStyle homeListItemTotalStyle = TextStyle(
    color: Colors.black54,
    fontSize: 12,
  );

  static final TextStyle homeSearchStyle = TextStyle(
    fontSize: 14.0,
    color: Colors.black,
  );

  static final LinearGradient homePlantCardLinearGradient = LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [
      ColorValue.homePlantCardBg,
      ColorValue.homePlantCardSecondaryBg,
      Colors.white,
      Colors.white,
      Colors.white,
    ],
  );
  static final TextStyle settingListItemStyle = TextStyle(
    color: Colors.black,
    fontSize: 14,
    fontWeight: FontWeight.w400,
  );

  static final TextStyle appDialogTitleStyle = TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.w500,
  );

  static final TextStyle appDialogContentStyle = TextStyle(
    fontSize: 14,
    color: Colors.black87,
  );

  static final TextStyle appDialogOkBtnStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
  );

  static final TextStyle appDialogCancelBtnStyle = TextStyle(
    color: Colors.black54,
  );

  static final BorderRadius appBarLargeBorderRadius = BorderRadius.only(
    topLeft: Radius.zero,
    topRight: Radius.zero,
    bottomLeft: Radius.circular(20.0),
    bottomRight: Radius.circular(20.0),
  );

  static final LinearGradient appHeaderLinearGradient = LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [
      ColorValue.appHeaderBgOne,
      ColorValue.appHeaderBgTwo,
      ColorValue.appHeaderBgThree,
    ],
  );

  static final TextStyle defaultStyle = TextStyle(
    color: Colors.black,
    fontSize: 13,
  );

  static final TextStyle defaultLinkStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
    fontSize: 13,
  );

  static final TextStyle defaultContentStyle = TextStyle(
    color: Colors.black54,
    fontSize: 13,
  );

  static final TextStyle defaultSelectStyle = TextStyle(
    color: Colors.black,
    fontWeight: FontWeight.w500,
    fontSize: 13,
  );

  static final BoxShadow defaultCardBoxShadow = BoxShadow(
    color: Colors.black.withAlpha(2),
    spreadRadius: 2,
    blurRadius: 2,
    offset: Offset(0, 2),
  );

  static final TextStyle dataListContainerReloadTxtStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
  );

  static final TextStyle tagLabelTextStyle = TextStyle(
    color: Colors.white,
    fontSize: 12,
    fontWeight: FontWeight.bold,
  );

  static final TextStyle txtActionStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
    fontSize: 13,
    fontWeight: FontWeight.w500
  );


}
